package com.ggs.mapper;

import com.ggs.pojo.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryMapper {

    List<Category> findAll(Integer id);

    Category findByID(Integer id);

    void update(Category category);

    void add(Category category);

    void delete(Integer id);
}
